package com.gcu.drivingschool.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.time.LocalDate;

/**
 * @author zzr
 * @create 2024-05-17-13:34
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BookExamVo {
    /**
     * 预约记录主键
     */
    @Schema(description = "预约记录主键")
    private Integer id;
    /**
     * 学员id
     */
    @Schema(description = "学员id")
    private Integer studentId;
    /**
     * 学员姓名
     */
    @Schema(description = "学员姓名")
    private String studentName;
    /**
     * 学员联系电话
     */
    @Schema(description = "学员联系电话")
    private String studentTel;

    /**
     * 预约科目（科目一，科目二，科目三，科目四）
     */
    @Schema(description = "预约科目（科目一，科目二，科目三，科目四）")
    private String subject;

    /**
     * 预约时间
     */
    @Schema(description = "预约时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    private LocalDate bookDate;

    /**
     * 预约记录状态（待审核，已通过，未通过，已过期）
     */
    @Schema(description = "预约记录状态（待审核，已通过，未通过，已过期）")
    private String status;
}
